package com.ruoyi.grape.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 历史气象信息对象 tb_grape_hismet
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeHismet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long hismetId;

    /** 历史时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "历史时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hisTime;

    /** 最高温度 */
    @Excel(name = "最高温度")
    private Double tempMax;

    /** 最低温度 */
    @Excel(name = "最低温度")
    private Double tempMin;

    /** 平均温度 */
    @Excel(name = "平均温度")
    private Double tempAvg;

    /** 光照时长 */
    @Excel(name = "光照时长")
    private Double illumination;

    /** 降雨量 */
    @Excel(name = "降雨量")
    private Double rainfall;

    /** 备注 */
    @Excel(name = "备注")
    private String hismetNote;

    public void setHismetId(Long hismetId) 
    {
        this.hismetId = hismetId;
    }

    public Long getHismetId() 
    {
        return hismetId;
    }
    public void setHisTime(Date hisTime) 
    {
        this.hisTime = hisTime;
    }

    public Date getHisTime() 
    {
        return hisTime;
    }
    public void setTempMax(Double tempMax) 
    {
        this.tempMax = tempMax;
    }

    public Double getTempMax() 
    {
        return tempMax;
    }
    public void setTempMin(Double tempMin) 
    {
        this.tempMin = tempMin;
    }

    public Double getTempMin() 
    {
        return tempMin;
    }
    public void setTempAvg(Double tempAvg) 
    {
        this.tempAvg = tempAvg;
    }

    public Double getTempAvg() 
    {
        return tempAvg;
    }
    public void setIllumination(Double illumination) 
    {
        this.illumination = illumination;
    }

    public Double getIllumination() 
    {
        return illumination;
    }
    public void setRainfall(Double rainfall) 
    {
        this.rainfall = rainfall;
    }

    public Double getRainfall() 
    {
        return rainfall;
    }
    public void setHismetNote(String hismetNote) 
    {
        this.hismetNote = hismetNote;
    }

    public String getHismetNote() 
    {
        return hismetNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hismetId", getHismetId())
            .append("hisTime", getHisTime())
            .append("tempMax", getTempMax())
            .append("tempMin", getTempMin())
            .append("tempAvg", getTempAvg())
            .append("illumination", getIllumination())
            .append("rainfall", getRainfall())
            .append("hismetNote", getHismetNote())
            .toString();
    }
}
